#ifndef COMM_SERIAL_PARAM_H
#define COMM_SERIAL_PARAM_H

#include <QtCore>
#include "ComDefine.h"

//通讯串口参数
class CCommSerialParam
{
public:
    quint8 uaName[MAX_APP_NAME];//串口名称,如ttyS0/ttyS1
    quint8 usSerialNo;          //串口序号,如1/2
    quint32 uiBandRate;         //串口波特率,如9600/115200
    quint8  uaDataBits;         //数据位，如5/6/7/8
    quint8  uaFlowControl;      //流控制,0不控制,1硬件控制,2软件控制
    quint8 uaParity;            //校验,0不校验,1奇校验,2偶校验
};

#endif //COMM_SERIAL_PARAM_H
